package com.erp.erp_dao.CustomerShare;

import com.erp.erp_entitys.CustomerShare.CustomerShareEntity;
import com.erp.erp_entitys.CustomerShare.CustomerShareExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICustomerShareDAO {
    long countByExample(CustomerShareExample example);

    int deleteByExample(CustomerShareExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CustomerShareEntity record);

    int insertSelective(CustomerShareEntity record);

    List<CustomerShareEntity> selectByExample(CustomerShareExample example);

    CustomerShareEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CustomerShareEntity record, @Param("example") CustomerShareExample example);

    int updateByExample(@Param("record") CustomerShareEntity record, @Param("example") CustomerShareExample example);

    int updateByPrimaryKeySelective(CustomerShareEntity record);

    int updateByPrimaryKey(CustomerShareEntity record);
}